Skip to content

[feat] address "to do"s - #519

Merged
sbreitbart-NOAA merged 8 commits into
mainfrom
feat-address-todos
Nov 20, 2026
Merged

sbreitbart-NOAA merged 8 commits into
mainfrom
feat-address-todos

Conversation

@sbreitbart-NOAA

Copy link
Copy Markdown
Collaborator

What is the feature?

How have you implemented the solution?

  • Various fixes or removing due to staleness

Does the PR impact any other area of the project, maybe another repo?

  • No

@sbreitbart-NOAA
sbreitbart-NOAA force-pushed the feat-address-todos branch 2 times, most recently from aa35cec to 1df720e Compare November 19, 2026 16:36
@sbreitbart-NOAA

Copy link
Copy Markdown
Collaborator Author

@Schiano-NOAA I'm requesting review even though a test is failing because it seems unrelated to this PR. I've tried addressing it and it's not working. Maybe it's resolved in #516? Here's the error msg:

── Error ('test-convert_output.R:68:3'): missing arguments trigger warnings or errors ──
<purrr_error_indexed/rlang_error/error/condition>
Error in map2(.x, vec_index(.x), .f, ...): i In index: 1.
i With name: model_1.
Caused by error in .f():
! object 'model' not found

Comment thread inst/resources/ss3_var_names.csv Resolved
Comment thread R/plot_spr.R Resolved
Comment thread R/utils.R Resolved
Comment thread R/utils_plot.R Resolved
Comment thread tests/testthat/test-convert_output.R Resolved

@Schiano-NOAA Schiano-NOAA left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! A couple comments to address. The weird thing with the files makes me think we should put some kind of deprecation message or failsafe for those already using the function if they input file instead of files or already have the code set up? Unless this is already done?

@Schiano-NOAA

Copy link
Copy Markdown
Collaborator

@Schiano-NOAA I'm requesting review even though a test is failing because it seems unrelated to this PR. I've tried addressing it and it's not working. Maybe it's resolved in #516? Here's the error msg:

── Error ('test-convert_output.R:68:3'): missing arguments trigger warnings or errors ── <purrr_error_indexed/rlang_error/error/condition> Error in map2(.x, vec_index(.x), .f, ...): i In index: 1. i With name: model_1. Caused by error in .f(): ! object 'model' not found

This is the same error in #520. I will figure that out in a separate issue. I think the merge for the PR #403 will resolve it but I am not 100% sure

@sbreitbart-NOAA

Copy link
Copy Markdown
Collaborator Author

LGTM! A couple comments to address. The weird thing with the files makes me think we should put some kind of deprecation message or failsafe for those already using the function if they input file instead of files or already have the code set up? Unless this is already done?

That change was actually already made and merged in this commit b0401bb#diff-c2893d9b424919bc908c0b1efc34e39238f4e081db0b16b1470924ec079ab7f9 ; I just found and resolved the same bugs in my (later) PR. In any case, I agree it'd be smart to deprecate it since this is one of the most widely-used functions. I'll set up a separate issue to note it

@sbreitbart-NOAA
sbreitbart-NOAA merged commit e40cedf into main Nov 20, 2026
2 checks passed
@sbreitbart-NOAA
sbreitbart-NOAA deleted the feat-address-todos branch November 20, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants